package com.nulstudio.cloud.common.entity;

import java.math.BigDecimal;

public final class NulCommodity {
    private int id;

    private String name;

    private BigDecimal wholesalePrice;

    private BigDecimal retailPrice;

    private BigDecimal costPrice;

    private String notes;

    public NulCommodity(int id, String name, BigDecimal wholesalePrice, BigDecimal retailPrice, BigDecimal costPrice, String notes) {
        this.id = id;
        this.name = name;
        this.wholesalePrice = wholesalePrice;
        this.retailPrice = retailPrice;
        this.costPrice = costPrice;
        this.notes = notes;
    }

    public NulCommodity(String name, BigDecimal wholesalePrice, BigDecimal retailPrice, BigDecimal costPrice, String notes) {
        this.id = 0;
        this.name = name;
        this.wholesalePrice = wholesalePrice;
        this.retailPrice = retailPrice;
        this.costPrice = costPrice;
        this.notes = notes;
    }

    public NulCommodity() {

    }

    public int getId() {
        return id;
    }

    public String getName() {
        return name;
    }

    public BigDecimal getWholesalePrice() {
        return wholesalePrice;
    }

    public BigDecimal getRetailPrice() {
        return retailPrice;
    }

    public BigDecimal getCostPrice() {
        return costPrice;
    }

    public String getNotes() {
        return notes;
    }

    private void setId(int id) {
        this.id = id;
    }

    private void setName(String name) {
        this.name = name;
    }

    private void setWholesalePrice(BigDecimal wholesalePrice) {
        this.wholesalePrice = wholesalePrice;
    }

    private void setRetailPrice(BigDecimal retailPrice) {
        this.retailPrice = retailPrice;
    }

    private void setCostPrice(BigDecimal costPrice) {
        this.costPrice = costPrice;
    }

    private void setNotes(String notes) {
        this.notes = notes;
    }
}
